package com.yearner.reviewplan.common.exception;


import com.yearner.reviewplan.common.enums.ResponseCode;

/**
 * 普通的系统错误
 * @author pengyg
 * @since 2019/10/31
 */
public class NormalException extends BaseAppException {
    private static final long serialVersionUID = -8749863716682661760L;

    public NormalException() {
        super(ResponseCode.SYSTEM_ERROR);
    }
    public NormalException(Exception e) {
        super(ResponseCode.FAILED, e);
    }
    public NormalException(String msg) {
        super(ResponseCode.FAILED, msg);
    }
}
